package com.lorenzogao.pley.bean

import java.io.Serializable

/**
 * Created by GanLanPing
 * data:2017/12/22
 * time:23:57
 * 邮箱:2508719070@qq.com
 * Description:
 */


/**
 * addTime : 0
 * hasSameDevApp : false
 * videoId : 0
 * source :
 * versionName : 6.1.3
 * hdIcon : {"main":"AppStore/08934b50a34c04fb730f7a6fd877e7ab7e95d2510"}
 * ratingScore : 4
 * briefShow : 出差旅行度假酒店预订专家
 * developerId : 0
 * fitness : 0
 * id : 35537
 * level1CategoryId : 3
 * releaseKeyHash : 6592d506f84ce823456e0b45b98e26e4
 * relateAppHasMore : false
 * rId : 0
 * suitableType : 0
 * briefUseIntro : false
 * ads : 0
 * publisherName : 上海锦江国际电子商务有限公司
 * level2CategoryId : 173
 * position : 0
 * favorite : false
 * isFavorite : false
 * appendSize : 24012317
 * level1CategoryName : 旅行交通
 * samDevAppHasMore : false
 * displayName : 锦江旅行
 * icon : AppStore/0b813449375b8793a17a0880bbf0957c70b40698c
 * screenshot : AppStore/0c75cc455aa99405b0433f8e7d6327fb5c85fceb8,AppStore/0875c4c559a89b055d43368e7bc326fe5ea40bd7c,AppStore/0b3e443ad196687b1d1e91f50056fd8183a433778,AppStore/0875c4c559a89b055a433e8e72c327fe51a40bd7c,AppStore/0b3e443ad196687b1b1e9ff50a56fb8183a433778
 * ratingTotalCount : 0
 * adType : 0
 * apkSize : 26653097
 * packageName : com.hotelvp.jjzx.activity
 * updateTime : 1513261760180
 * grantCode : 0
 * versionCode : 613
 * appTags : [{"tagId":228,"link":"sametag/228","tagName":"便民"},{"tagId":46,"link":"sametag/46","tagName":"出行"},{"tagId":31,"link":"sametag/31","tagName":"优惠"}]
 * diffFileSize : 0
 */


data class AppInfo(
        val addTime: Int, //0
        val hasSameDevApp: Boolean, //false
        val videoId: Int, //0
        val source: String,
        val versionName: String, //6.1.3
        val hdIcon: HdIcon,
        val ratingScore: Double, //4
        val briefShow: String, //出差旅行度假酒店预订专家
        val developerId: Int, //0
        val fitness: Int, //0
        val id: Int, //35537
        val level1CategoryId: Int, //3
        val releaseKeyHash: String, //6592d506f84ce823456e0b45b98e26e4
        val relateAppHasMore: Boolean, //false
        val rId: Int, //0
        val suitableType: Int, //0
        val briefUseIntro: Boolean, //false
        val ads: Int, //0
        val publisherName: String, //上海锦江国际电子商务有限公司
        val level2CategoryId: Int, //173
        val position: Int, //0
        val favorite: Boolean, //false
        val isFavorite: Boolean, //false
        val appendSize: Int, //24012317
        val level1CategoryName: String, //旅行交通
        val samDevAppHasMore: Boolean, //false
        val displayName: String, //锦江旅行
        val icon: String, //AppStore/0b813449375b8793a17a0880bbf0957c70b40698c
        val screenshot: String, //AppStore/0c75cc455aa99405b0433f8e7d6327fb5c85fceb8,AppStore/0875c4c559a89b055d43368e7bc326fe5ea40bd7c,AppStore/0b3e443ad196687b1d1e91f50056fd8183a433778,AppStore/0875c4c559a89b055a433e8e72c327fe51a40bd7c,AppStore/0b3e443ad196687b1b1e9ff50a56fb8183a433778
        val ratingTotalCount: Int, //0
        val adType: Int, //0
        val apkSize: Int, //26653097
        val packageName: String, //com.hotelvp.jjzx.activity
        val updateTime: Long, //1513261760180
        val grantCode: Int, //0
        val versionCode: Int, //613
        val appTags: List<AppTag>,
        val diffFileSize: Int,//0
        val introduction: String,
        var sameDevAppInfoList: List<AppInfo>,
        var relateAppInfoList: List<AppInfo>,
        var appDownloadInfo: AppDownloadInfo
) : Serializable

data class HdIcon(
        val main: String //AppStore/08934b50a34c04fb730f7a6fd877e7ab7e95d2510
) : Serializable

data class AppTag(
        val tagId: Int, //228
        val link: String, //sametag/228
        val tagName: String //便民
) : Serializable


